#ifndef FAN_H
#define FAN_H

class Fan
{
    enum
    {
        Off,
        LOW,
        MEDIUM,
        HIGH
    };

public:
    Fan();

    void setHigh();
    void setMedium();
    void setLow();
    void setOff();

    int getSpeed();

private:
    int speed = Off;
};

#endif // FAN_H
